<?php
/**
 * Describe:
 * Source:
 * User: blue
 * Time: 2018/3/17 18:47
 */

namespace app\admin\model;


use think\Model;

class Rule extends Model
{
    protected $name='auth_rule';

    public function getStatusAttr($value){
        $status=[0=>"禁用",1=>"启用"];
        return $status[$value];
    }
}